/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.gitee.fdc.dubbo.zk;

import javax.annotation.PostConstruct;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

/**
 *
 * @author MACHENIKE
 */
//@Configuration
//@Profile(value = "dev")
public class EmbeddedZKConfig {

    @PostConstruct
    public void startEmbeddedZkServer() {
        new EmbeddedZooKeeper(2181, false).start();
    }
}
